package com.silverbox.waimai.entity;

import java.io.Serializable;
import java.util.Date;

/**
box_goods_cart
 */
public class GoodsCart implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 892854740391674835L;

	/**
     */
    private Integer id;

    /**
     * 购买数量
     */
    private Double buyCount;

    /**
     * 购买价格
     */
    private Double buyPrice;

    /**
     * 用户id
     */
    private String buyerId;

    /**
     * 用户昵称
     */
    private String buyNick;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 尺寸id
     */
    private Long sizeId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 商品图片
     */
    private String goodsImg;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 尺寸类别
     */
    private String sizeType;

    /**
     * 原始价格
     */
    private Double originalPrice;

    /**
     * 优惠描述
     */
    private String promotionDesc;

    /**
     * 优惠id
     */
    private Long promotionId;

    /**
     * 优惠名称
     */
    private String promotionName;

    /**
     * 优惠类型
     */
    private Integer promotionType;

    /**
     * 属性价格
     */
    private Double propPrice;

    /**
     * 桌台号码
     */
    private String tableNo;

    /**
     * 店铺id
     */
    private Integer shopperId;

    /**
     * 分类名称
     */
    private String categoryName;

    /**
     */
    private String avatarPath;

    /**
     * 已选属性id
     */
    private String propIds;

    /**
     * 已选属性名称
     */
    private String propNames;

    /**
     * 是否打包
     */
    private String goodsDesc;

    /**
     */
    private Integer isWeight;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否显示尺寸
     */
    private Integer isNotshowSize;

    /**
     * 折扣类型
     */
    private String itemType;

    /**
     * 是否是单品
     */
    private Integer isSingleDiscount;

    /**
     * 折扣率
     */
    private Double discountRate;

    
    private Long categoryId;
    /**
     * 优惠券id
     */
    private String discountItemId;

    /**
     * 是否套餐(0不是  1普通套餐  2 组合套餐(包含明细))
     */
    private Integer isPackage;
    
    /**
     * 商品起卖数量
     */
    private Integer minSell;
    
    /**
     * 商品累加数量
     */
    private Integer minAddUnit;

    /** 
     * 是否必点菜
     */
    private Integer mustOrder;
    
    /**
     * 必点菜是否支持可修改
     */
    private Integer mustOrderUpdate;
    
    /**
     * 加价做法
     */
    private String propDetail;
    
    /**
     * 会员价
     */
    private Double memberPrice;

    //优惠券码
    private String couponCode;

    //优惠券类型
    private Integer couponCodeType;

    //优惠券详情
    private String couponDetailCode;

    public String getCouponDetailCode() {
        return couponDetailCode;
    }

    public GoodsCart setCouponDetailCode(String couponDetailCode) {
        this.couponDetailCode = couponDetailCode;
        return this;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public GoodsCart setCouponCode(String couponCode) {
        this.couponCode = couponCode;
        return this;
    }

    public Integer getCouponCodeType() {
        return couponCodeType;
    }

    public GoodsCart setCouponCodeType(Integer couponCodeType) {
        this.couponCodeType = couponCodeType;
        return this;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Double buyCount) {
        this.buyCount = buyCount;
    }

    public Double getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(Double buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId == null ? null : buyerId.trim();
    }

    public String getBuyNick() {
        return buyNick;
    }

    public void setBuyNick(String buyNick) {
        this.buyNick = buyNick == null ? null : buyNick.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getSizeId() {
        return sizeId;
    }

    public void setSizeId(Long sizeId) {
        this.sizeId = sizeId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg == null ? null : goodsImg.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getSizeType() {
        return sizeType;
    }

    public void setSizeType(String sizeType) {
        this.sizeType = sizeType == null ? null : sizeType.trim();
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getPromotionDesc() {
        return promotionDesc;
    }

    public void setPromotionDesc(String promotionDesc) {
        this.promotionDesc = promotionDesc == null ? null : promotionDesc.trim();
    }

    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    public String getPromotionName() {
        return promotionName;
    }

    public void setPromotionName(String promotionName) {
        this.promotionName = promotionName == null ? null : promotionName.trim();
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    public Double getPropPrice() {
        return propPrice;
    }

    public void setPropPrice(Double propPrice) {
        this.propPrice = propPrice;
    }

    public String getTableNo() {
        return tableNo;
    }

    public void setTableNo(String tableNo) {
        this.tableNo = tableNo == null ? null : tableNo.trim();
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public String getAvatarPath() {
        return avatarPath;
    }

    public void setAvatarPath(String avatarPath) {
        this.avatarPath = avatarPath == null ? null : avatarPath.trim();
    }

    public String getPropIds() {
        return propIds;
    }

    public void setPropIds(String propIds) {
        this.propIds = propIds == null ? null : propIds.trim();
    }

    public String getPropNames() {
        return propNames;
    }

    public void setPropNames(String propNames) {
        this.propNames = propNames == null ? null : propNames.trim();
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc == null ? null : goodsDesc.trim();
    }

    public Integer getIsWeight() {
        return isWeight;
    }

    public void setIsWeight(Integer isWeight) {
        this.isWeight = isWeight;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getIsNotshowSize() {
        return isNotshowSize;
    }

    public void setIsNotshowSize(Integer isNotshowSize) {
        this.isNotshowSize = isNotshowSize;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType == null ? null : itemType.trim();
    }

    public Integer getIsSingleDiscount() {
        return isSingleDiscount;
    }

    public void setIsSingleDiscount(Integer isSingleDiscount) {
        this.isSingleDiscount = isSingleDiscount;
    }

    public Double getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(Double discountRate) {
        this.discountRate = discountRate;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getDiscountItemId() {
        return discountItemId;
    }

    public void setDiscountItemId(String discountItemId) {
        this.discountItemId = discountItemId == null ? null : discountItemId.trim();
    }

    public Integer getIsPackage() {
        return isPackage;
    }

    public void setIsPackage(Integer isPackage) {
        this.isPackage = isPackage;
    }

	public Integer getMinSell() {
		return minSell;
	}

	public void setMinSell(Integer minSell) {
		this.minSell = minSell;
	}

	public Integer getMinAddUnit() {
		return minAddUnit;
	}

	public void setMinAddUnit(Integer minAddUnit) {
		this.minAddUnit = minAddUnit;
	}

	public Integer getMustOrder() {
		return mustOrder;
	}

	public void setMustOrder(Integer mustOrder) {
		this.mustOrder = mustOrder;
	}

	public Integer getMustOrderUpdate() {
		return mustOrderUpdate;
	}

	public void setMustOrderUpdate(Integer mustOrderUpdate) {
		this.mustOrderUpdate = mustOrderUpdate;
	}

	public String getPropDetail() {
		return propDetail;
	}

	public void setPropDetail(String propDetail) {
		this.propDetail = propDetail;
	}

	public Double getMemberPrice() {
		return memberPrice;
	}

	public void setMemberPrice(Double memberPrice) {
		this.memberPrice = memberPrice;
	}
    
}